﻿using FlashPay.DAO.Interface;
using FlashPay.EF.Models;
using FlashPay.Service.Interface;
using System;
using System.Collections.Generic;
using System.Text;

namespace FlashPay.Service.Impl
{
    public class UserRoleServiceImpl : UserRoleService
    {
        private readonly UserRoleDao _userRole;
        public UserRoleServiceImpl(UserRoleDao userRole)
        {
            _userRole = userRole;
        }

        /// 根据用户ID获取角色信息
        public Entity.PagedList<UserRole> GetRoleByUID(int uID)
        {
            return _userRole.GetRoleByUID(uID);
        }


    }
}
